package com.yunc.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunc.modules.sys.entity.SysDictData;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

/**
 * 字典数据表
 *
 * @author congcong tao
 * @date 2018/11/19 17:07
 */
public interface ISysDictDataService extends IService<SysDictData> {

    @Cacheable(value = "sys_dict_data_all")
    List<SysDictData> listAll();
}
